import Vue from 'vue'
import Router from 'vue-router'
// import HelloWorld from '@/components/HelloWorld'
import Index from '@/components/index'
import recoveryIndex from '@/components/recovery'
import ChooseAdress from '@/components/recovery/ChooseAdress'
import addAdress from '@/components/recovery/addAdress'
import recoverySuccess from '@/components/recovery/success'
import userCenter from '@/components/userCenter'
import order from '@/components/order'
import orderDetail from '@/components/order/detail'
import orderPinjia from '@/components/order/pinjia'
import orderPinjiaSuccess from '@/components/order/PinjiaSuccess'

import Feedback from '@/components/Feedback'
import FeedbackSuccess from '@/components/Feedback/success'
import aboutUs from '@/components/aboutUs'
import binding from '@/components/binding'
import bind from '@/components/binding/bind'
import wallet from '@/components/wallet'
import detail from '@/components/wallet/detail'
import draw from '@/components/wallet/draw'

import authorize from '@/components/authorize/index'

// Vue.use(Router)

const page = [
    {
      path: '/',
      name: 'index',
      component: Index
    },
    {
      path: '/index',
      name: 'index',
      component: Index
    },{
      path: '/recoveryIndex',
      name: 'recoveryIndex',
      component: recoveryIndex
    },{
      path: '/recovery/ChooseAdress',
      name: 'ChooseAdress',
      component: ChooseAdress
    },{
      path: '/recovery/addAdress',
      name: 'addAdress',
      component: addAdress
    },{
      path: '/recovery/success',
      name: 'recoverySuccess',
      component: recoverySuccess
    },{
      path: '/userCenter',
      name: 'userCenter',
      component: userCenter
    },{
      path: '/order/:id',
      name: 'order',
      component: order
    },{
      path: '/order/detail/:id',
      name: 'orderDetail',
      component: orderDetail
    },{
      path: '/order/pinjia/:id',
      name: 'orderPinjia',
      component: orderPinjia
    },{
      path: '/order/pinjiaSuccess',
      name: 'orderPinjiaSuccess',
      component: orderPinjiaSuccess
    },{
      path: '/Feedback',
      name: 'Feedback',
      component: Feedback
    },{
      path: '/Feedback/success',
      name: 'FeedbackSuccess',
      component: FeedbackSuccess
    },{
      path: '/aboutUs',
      name: 'aboutUs',
      component: aboutUs
    },{
      path: '/binding',
      name: 'binding',
      component: binding
    },{
      path: '/binding/bind',
      name: 'bind',
      component: bind
    },{
      path: '/wallet',
      name: 'wallet',
      component: wallet
    },{
      path: '/wallet/detail',
      name: 'detail',
      component: detail
    },{
      path: '/wallet/draw',
      name: 'draw',
      component: draw
    },{
      path: '/authorize',
      name: 'authorize',
      component: authorize
    }
]


export default page
